<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{$title}</title>
    <meta name="keywords" content="{$keywords}" />
    <meta name="description" content="{$description}" />
    <link rel="stylesheet" type="text/css" href="/css/global.css" />
    <link rel="stylesheet" type="text/css" href="/css/index.css" />
    <script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/js/sujiao.js"></script>
    <script type="text/javascript" src="/js/search.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/jquery.datetimepicker.css" />
    <script type="text/javascript" src="/js/jquery.datetimepicker.js"></script>
</head>
<body>

<!--site  start-->
<div class="site-nav">
    <div class="sn-bd">
        <div class="fl"><a href="/" class=""><i class="icon-1"></i>首页</a><span class="mr10 ml10">客服热线：<i class="orange">020-38061299</i></span>|<span class="mr10 ml10">交易时间（工作日）：<i class="orange">09:00-17:30</i></span></div>
        <div class="fr">{if $userInfo.login_name eq ''} 你好，欢迎来到塑料交易网！<a href="/login" class="orange">请登录</a>|<a href="/register" class="ml10">免费注册</a>|{else}你好<a href="/user" class="ml10"> {$userInfo.moblie} </a>欢迎登录塑料交易网！<a href="/login/logout" class="orange">退出</a>{/if}<a href="/user" class="ml10">会员中心<i class="icon-2"></i></a>|<a href="javasript:void(0)" class="ml10"><i class="icon-3"></i>关注我们</a></div>
    </div>
</div>
<!--site  end-->

<!--header  start-->
<!--地区选择-->
<div class="header">
    <h1 class="logo"><a href="/">塑料交易网</a></h1>
    <!--<div class="city_screening">-->
        <!--<div class="city_name">全国</div>-->
        <!--<ul class="city_list">-->
            <!--{foreach from = $_getAreaNames key=key item=item}-->
            <!--<li><a href="/principal/index?area_id={$key}&area_name={$item}">{$item}</a></li>-->
            <!--{/foreach}-->
        <!--</ul>-->
    <!--</div>-->
<!--搜索-->
    <div class="search">
        <p class="search_tty">
            <span s="请输入牌号/厂商/交货地进行搜索" v="1" class="brx curr">现货</span><span s="请输入牌号/厂商进行搜索" v="2">求购</span>
        </p>
        <input type="text" placeholder="请输入牌号/厂商/地点进行搜索" name="keyword" id="search_key" value="{$kd}" class="search-text">
        <input type="button" value="搜　索" id="search_submit" class="search-btn">
    </div>
</div>
<!--header  end-->

<!--这是清除浮动-->
<!--分类筛选-->
<div class="clearfix"></div>
<div class="nav">
    <div class="nav-hd">
        <div class="assortment">
            <h3 class="assort_title">全部商品分类</h3>
            <ul class="assort_list">
                {if $cate neq '' }
                {foreach from=$cate key=key item=item}
                <li>
                    <div class="al_pt"><a href="#" class="al_t"><i class="icon"><b>{$item.cate_name}</b></i><i>{$item.vice_name}</i><i class="al-icon"></i></a>
                        <p class="al_p">昨日成交<i>{if $item.num > 0}{$item.num}{else}0{/if}</i>吨</p>
                    </div>
                    <div class="at_popup">
                        <h3>厂家</h3>
                        <p>
                            {if $item.list}
                                {foreach from=$item.list.brand_name key=k item=i}
                                {if $k>7} {continue} {/if}
                                <a href="/search/index?kd={$i}">{$i}</a>|
                                {/foreach}
                            {else}

                            {/if}
                        </p>
                        <h3>交货地</h3>
                        <p>
                            {if $item.list}
                            {foreach from=$item.list.area_name key=k item=i}
                            <a href="/search/index?kd={$i}">{$i}</a>|
                            {/foreach}
                            {else}

                            {/if}
                        </p>
                        <h3>牌号</h3>
                        <p>
                            {if $item.list}
                            {foreach from=$item.list.product_name key=k item=i}
                            {if $k>7} {continue} {/if}
                            <a href="/search/index?kd={$i}">{$i}</a>|
                            {/foreach}
                            {else}

                            {/if}
                        </p>
                    </div>
                </li>
                {/foreach}
                {/if}
            </ul>
        </div>

        <ul class="menu">
            {if $menu_title  eq 'index'}
            <li class="curr"><a href="/" >首　页</a></li>
            {else}
            <li><a href="/" >首　页</a></li>
            {/if}
            {if $menu_title  eq 'principal'}
            <li class="curr"><a href="/principal">现货资源<i></i></a></li>
            {else}
            <li><a href="/principal">现货资源<i></i></a></li>
            {/if}
            {if $menu_title  eq 'buy'}
            <li class="curr"><a href="/buy">求购信息</a></li>
            {else}
            <li><a href="/buy">求购信息</a></li>
            {/if}
            {if $menu_title  eq 'supply'}
            <li class="curr"><a href="/supply">供应商报价</a></li>
            {else}
            <li><a href="/supply">供应商报价</a></li>
            {/if}

            <!--<li><a href="#">互联网金融</a></li>-->
        </ul>

    </div>
</div>